﻿namespace Genesis.Infrastructure.Application
{

    public class ValidationError : IValidationError
    {

        public string PropertyName { get; private set; }

        public string ErrorMessage { get; private set; }

        public ValidationError(string propertyName, string errorMessage)
        {

            PropertyName = propertyName;

            ErrorMessage = errorMessage;

        }

    }

}